/*
 * Copyright (C) 2012 TopCoder Inc., All Rights Reserved.
 */
package junit.test;

import java.util.ArrayList;
import java.util.List;

/**
 * @author TCSASSEMBLER
 * @version 1.0 ()
 * @since 1.0
 */
public class BeanDefinition {
	private String id;
	private String className;
	private List<PropertyDefinition> properties = new ArrayList<PropertyDefinition>();
	
	/**
	 * <p>
	 * Default constructor.
	 * </p>
	 */
	public BeanDefinition(String id, String className) {
		
		this.id = id;
		this.className = className;
	}
	
	/**
	 * <p>
	 * Getter of id field.
	 * </p>
	 * @return the id
	 */
	public String getId() {
		return id;
	}
	/**
	 * <p>
	 * Setter of id field.
	 * </p>
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}
	
	/**
	 * <p>
	 * Getter of className field.
	 * </p>
	 * @return the className
	 */
	public String getClassName() {
		return className;
	}
	/**
	 * <p>
	 * Setter of className field.
	 * </p>
	 * @param className the className to set
	 */
	public void setClassName(String className) {
		this.className = className;
	}

	/**
	 * <p>
	 * Getter of properties field.
	 * </p>
	 * @return the properties
	 */
	public List<PropertyDefinition> getProperties() {
		return properties;
	}

	/**
	 * <p>
	 * Setter of properties field.
	 * </p>
	 * @param properties the properties to set
	 */
	public void setProperties(List<PropertyDefinition> properties) {
		this.properties = properties;
	}
}
